import request from '@/utils/request'

// 查询设备类型管理列表
export function listEqupmentType(query) {
  return request({
    url: '/manage/equpmentType/list',
    method: 'get',
    params: query
  })
}

// 查询设备类型管理详细
export function getEqupmentType(id) {
  return request({
    url: '/manage/equpmentType/' + id,
    method: 'get'
  })
}

// 新增设备类型管理
export function addEqupmentType(data) {
  return request({
    url: '/manage/equpmentType',
    method: 'post',
    data: data
  })
}

// 修改设备类型管理
export function updateEqupmentType(data) {
  return request({
    url: '/manage/equpmentType',
    method: 'put',
    data: data
  })
}

// 删除设备类型管理
export function delEqupmentType(id) {
  return request({
    url: '/manage/equpmentType/' + id,
    method: 'delete'
  })
}
